package com.sna.snaapplication.service.UserSys;


import com.sna.snaapplication.entity.R;
import com.sna.snaapplication.entity.usercore.User;
import com.sna.snaapplication.entity.usercore.core.PwdString;
import com.sna.snaapplication.entity.usercore.core.UpdateData;

public interface SysUserService {

    //根据用户Id查询用户
    User selectUserById(Long userId);

    User findByUserName(String username);



    //更新密码
    R<Object> updatePwd(PwdString pwdString,String token);

    // 修改用户基本资料
    R<Object> updateUserProfile(UpdateData updateData);
}
